module com.sytc.camera {
    // Spring Boot 模块
    requires spring.boot;
    requires spring.boot.autoconfigure;
    requires spring.context;
    requires spring.core;
    requires spring.beans;

    // JavaFX 模块
    requires javafx.fxml;
    requires javafx.web;
    requires javafx.swing;
    requires javafx.media;

    // ZeroMQ 相关模块
    requires jeromq;

    requires com.sun.jna;
    requires org.slf4j;
    requires junit;
    requires jdk.jfr;
    requires org.kordamp.bootstrapfx.core;
    requires org.apache.logging.log4j;
    requires jakarta.annotation;

    // 允许 javafx.fxml 和 spring.core 模块访问 com.judy.fxjdk17 包
    opens com.sytc.camera to javafx.fxml, spring.core;
    opens com.sytc.camera.uicontroller to javafx.fxml, spring.core;


    // 允许访问公共 API
    exports com.sytc.camera; // 导出主模块
    exports com.sytc.camera.uicontroller;
}
